<script>
	import { mapActions } from 'vuex';
	export default {
		methods: {
			...mapActions({ setSysInfo: 'system/setSysInfo' }),
			_setSysInfo() {
				const res = uni.getSystemInfoSync();
				this.setSysInfo(res);
			},
		},
		onLaunch: function() {
			this._setSysInfo();
		},
		onShow: function() {},
		onHide: function() {},
	}
</script>

<style lang="scss">
	@import url('./src/iconfont/iconfont.css');
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	.custom-empty{
		position: absolute;
		top: calc(50% - 75rpx);
		width: 100%;
		text-align: center;
		.iconfont{
			font-size: 100rpx;
			color: #333;
		}
		.empty-title{
			width: 100%;
			height: 50rpx;
			line-height: 50rpx;
			color: #333;
			font-size: 26rpx;
		}
	}
	
	.custom-button{
		width: 288rpx;
		height: 62rpx;
		background-color: #0535d6;
		border-radius: 20rpx;
		font-size: 26rpx;
		font-weight: normal;
		font-stretch: normal;
		line-height: 62rpx;
		letter-spacing: 8rpx;
		color: #ffffff;
		text-align: center;
		margin: 0 auto;
	}
	.custom-button-shadow {
		box-shadow: 0rpx 13rpx 35rpx 0rpx rgba(60, 90, 214, 0.42);
	}
	.u-index-list{
		.u-fade-enter-active{
			background-color: rgba(#00003f, 0)!important;
		}
	}
	.u-fade-enter-active{
		background-color: rgba(#00003f, 0.65)!important;
	}
	// .u-type-default{
	// 	background: #fff!important;
	// 	/deep/ .u-toast__content__text--default {
	// 		color: #333!important;
	// 	}
	// }
	
	.t-toptips{
		display: none!important;
	}
	page{
		font-family: PingFangSC-Regular, sans-serif;
	}
</style>